﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JacOS.Programs
{
    class pause
    {
        public static void run(string message = "\nPress enter to continue")
        {
            Console.Write("\n" + message + "\n");
            while (true)
            {
                var key = Console.ReadKey(true);
                if (key.Key == ConsoleKey.Enter)
                {
                    break;
                }
            }
        }
    }
}
